package com.fire.eyes.response;

import java.util.Map;

import com.fire.eyes.response.element.ResData;

import lombok.Data;

/**
 *金科返回的数据类
 * @author Aspire
 * @date 2018-04-18
 */
@Data
public class RespDTO<T> {
	/**
	 * 请求流水号
	 */
	private String requestId;

	/**
	 * 响应代码
	 */
	private String resCode;

	/**
	 * 响应内容，成功时有
	 */
	private ResData resData;

	/**
	 * 错误信息
	 */
	private String resMsg;

	/**
	 * 响应时间
	 */
	private Long timestamp;

	

	/**
	 * 扩展信息
	 */
	private Map<String, String> extInfo;

	public String getRequestId() {
		return requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public String getResCode() {
		return resCode;
	}

	public void setResCode(String resCode) {
		this.resCode = resCode;
	}

	public ResData getResData() {
		return resData;
	}

	public void setResData(ResData resData) {
		this.resData = resData;
	}

	public String getResMsg() {
		return resMsg;
	}

	public void setResMsg(String resMsg) {
		this.resMsg = resMsg;
	}

	public Long getTimestamp() {
		return timestamp;
	}

	public void setTimestamp(Long timestamp) {
		this.timestamp = timestamp;
	}



	public Map<String, String> getExtInfo() {
		return extInfo;
	}

	public void setExtInfo(Map<String, String> extInfo) {
		this.extInfo = extInfo;
	}
}
